package net.ericaro.neojavagen.blocks;

/**
 * <b>LabeledStatementNoShortIf</b> ::= <{@link net .ericaro .neojavagen .types .Identifier Identifier}> ":" <
 * {@link net .ericaro .neojavagen .blocks .StatementNoShortIf StatementNoShortIf}>
 * 
 * @author eric@ericaro.net
 */
public class LabeledStatementNoShortIf extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.blocks.StatementNoShortIf {
	private net.ericaro.neojavagen.types.Identifier identifier;

	private net.ericaro.neojavagen.blocks.StatementNoShortIf statementNoShortIf;

	public LabeledStatementNoShortIf(net.ericaro.neojavagen.types.Identifier identifier, net.ericaro.neojavagen.blocks.StatementNoShortIf statementNoShortIf) {
		super();
		this.identifier = identifier;
		this.statementNoShortIf = statementNoShortIf;
	}

	public net.ericaro.neojavagen.types.Identifier getIdentifier() {
		return identifier;
	}

	public net.ericaro.neojavagen.blocks.StatementNoShortIf getStatementNoShortIf() {
		return statementNoShortIf;
	}

	public void setIdentifier(net.ericaro.neojavagen.types.Identifier identifier) {
		this.identifier = identifier;
	}

	public void setStatementNoShortIf(net.ericaro.neojavagen.blocks.StatementNoShortIf statementNoShortIf) {
		this.statementNoShortIf = statementNoShortIf;
	}

	@Override
	public java.lang.String toString() {
		return print(identifier, ":", statementNoShortIf);
	}
}
